package com.jgj.cloud.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Hello world!
 *
 */
@MapperScan("com.jgj.cloud.user.mapper")
@SpringBootApplication
@EnableDiscoveryClient  // 开启服务注册与发现
public class UserApplication
{

    public static void main( String[] args )
    {

        SpringApplication.run(UserApplication.class, args);
    }
}
